<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>

<!DOCTYPE html>
<html lang="en">
  <head>
		<meta charset="utf-8">
		<title>Sign in &middot; Car Rental system</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="description" content="">
		<meta name="author" content="">

		<link href="/CarRentalSystem/css/bootstrap.min.css" rel="stylesheet">
		<link href="/CarRentalSystem/css/sign.css" rel="stylesheet">

		<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
		<!--[if lt IE 9]>
			<script src="/js/html5shiv.js"></script>
		<![endif]-->
	</head>
	<body>
		<div class="container">
			<html:form action="/auth/signin" styleClass="form-signin">
				<h2 class="form-signin-heading">Please sign in</h2>
				<div class="control-group">
					<html:text name="signInForm" property="email" errorStyleClass="input-block-level error" styleClass="input-block-level"></html:text>
					<html:errors property="email" />
				</div>
				<div class="control-group">
					<html:password name="signInForm" property="password" errorStyleClass="input-block-level error" styleClass="input-block-level" maxlength="16"></html:password>
					<html:errors property="password" />
				</div>
				<label class="checkbox">
					<html:checkbox property="rememberMe"></html:checkbox> Remember me
				</label>
				<html:submit styleClass="btn btn-large btn-primary" value="Sign in"/>
				<hr>
				<p>
					New to Car Rental system? <a href="signup.jsp">Sign up now »</a>
				</p>
			</html:form>
		</div>

		<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
		<script src="/CarRentalSystem/js/bootstrap.min.js"></script>
	</body>
</html>
